From 6e478128fec23e2b3716d8bce30e22bf6ab65107 Mon Sep 17 00:00:00 2001 From: Josselin Mouette Date: Tue, 19 Dec 2017 18:31:53 -0500 Subject: [PATCH] Revert ABI breakage Provide the rsvg_handle_new_gz function. Do not provide the C prototype to force applications using it to use rsvg_handle_new instead. Gbp-Pq: Name 10_rsvg-gz.patch --- librsvg/rsvg-handle.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/librsvg/rsvg-handle.c b/librsvg/rsvg-handle.c index af66b5e..01eda92 100644 --- a/librsvg/rsvg-handle.c +++ b/librsvg/rsvg-handle.c @@ -405,6 +405,13 @@ rsvg_handle_free (RsvgHandle * handle) g_object_unref (handle); } +/* Debian-specific, for compatibility with old ABI */ +RsvgHandle * +rsvg_handle_new_gz (void) +{ + return rsvg_handle_new (); +} + /** * rsvg_handle_new: * -- 2.30.2